Schema Evolution and the Relational Algebra

نویسندگان

  • L. Edwin McKenzie
  • Richard T. Snodgrass
چکیده

In this paper we discuss extensions to the conventional relational algebra to support both aspects of transaction time, evolution of a database’s contents and evolution of a database’s schema. We define a relation’s schema to be the relation’s temporal signature, a function mapping the relation’s attribute names onto their value domains, and class, indicating the extent of support for time. We also introduce commands to change a relation, now defined as a triple consisting of a sequence of classes, a sequence of signatures, and a sequence of states. A semantic type system is required to identify semantically incorrect expressions and to enforce consistency constraints among a relation’s class, signature, and state following update. We show that these extensions are applicable, without change, to historical algebras that support valid time, yielding an algebraic language for the query and update of temporal databases. The additions preserve the useful properties of the conventional algebra. A database’s schema describes the structure of the database; the contents of the database must adhere to that structure [Date 1976, Ullman 1982]. Schema evolution refers to changes to the database’s schema over time. Conventional databases allow only one schema to be in force at a time, requiring restructuring (also termed logical reorganization [Sockut & Goldberg 1979]) when the schema is modified. With the advent of databases storing past states [McKenzie 1986], it becomes desirable to accommodate multiple schemas, each in effect for an interval in the past. Schema versioning refers to retention of past schemas resulting from schema evolution. In an earlier paper [McKenzie & Snodgrass 1987A] we proposed extensions to the conventional relational algebra [Codd 1970] that model the evolution of a database’s contents. We did not, however, consider the evolution of a database’s schema. In this paper, we provide further extensions to the conventional relational algebra that model the evolution of a database’s schema. The extensions that support evolution of a database’s contents are repeated here for completeness and because the extensions supporting schema evolution are best explained in concert with those earlier extensions.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

FIESTA: a framework for schema evolution in multidimensional databases

New application areas for databases like data warehousing and OLAP (Online Analytical Processing) deploy the multidimensional data model in order to describe the application domain. Consequently, OLAP systems are represented by a multidimensional database schema to adequately reflect the application semantics. FIESTA presents a methodology for the evolution of such multidimensional schemas. Cor...

متن کامل

A Framework for Schema Evolution by Meta Object Manipulation

In this paper we address the problem of schema evolution in object-oriented database systems. Most currently available database prototypes either completely lack schema evolution facilities, or ooer a restricted set of special purpose schema evolution operators supporting simple schema changes. Our approach is diierent. We consider schema objects as objects like others and have the meta schema ...

متن کامل

Logic and Algebraic Languages Forinteroperability in Multidatabasesystemslaks

Developing a declarative approach to interoperability in the context of multidatabase systems is a major goal of this research. We take a rst step toward this goal in this paper, by developing a simple logic called SchemaLog which is syntactically higher-order but has a rst-order semantics. SchemaLog can provide for interoperability among multiple relational databases in a federation of databas...

متن کامل

Translating a first-order modal language to relational algebra

This paper is about Kripke structures that are 1. inside a relational database. 2. queried with a modal language. At first the modal language that is used is introduced, followed by a definition of the database and relational algebra. Based on these definitions two things are described: 1. a mapping from components of the model structure to a relational database schema and instance. 2. a transl...

متن کامل

Review of Relational Algebra for Query Processing in Dynamic Distributed Federated Databases

This paper reviews the coverage of formal Relational Algebra as it applies to distributed, federated databases in varying network topologies. The review shows that a number of Relational Algebra extensions allow distributed relations and federation of heterogeneous database schema. More concrete physical Relational Algebra extensions support access plans for multi-database query processing but ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Inf. Syst.

دوره 15  شماره 

صفحات  -

تاریخ انتشار 1990